#pragma once
#include "Pattern_node.h"
typedef int INTEGER;
typedef string STRING;
typedef bool BOOLEAN;
typedef int INDEX;

using namespace std;

class Pattern{
private:
	INTEGER _type;
	INTEGER _linNum;
	STRING _varName;
	vector<Pattern_node> _tNode;
public:
	Pattern();
	Pattern(INTEGER type, INTEGER linNm, STRING varName,vector<Pattern_node> tNode);
	INTEGER getType();
	INTEGER getLineNum();
	STRING getVarName();
	vector<Pattern_node> getNodeTree();
};